MultiSafepay\WooCommerce\PaymentMethods\PaymentMethodsController S

Total Complexity 42
Dependencies 6
Dependents 1
Total lines 253
Lines of code 121
Logical lines of code 74
Comment lines 106
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
deprecated_callback()
S
60 6 11
generate_orders_from_backend()
S
51 5 25
filter_gateway_per_country()
S
63 6 9
filter_gateway_per_min_amount()
S
64 5 9
callback()
S
63 4 9
multisafepay_transaction_order_id()
S
66 3 9
allow_cancel_multisafepay_orders_with_on_hold_status()
S
63 3 10
enqueue_styles()
S
72 2 5
set_multisafepay_transaction_as_shipped()
S
63 2 10
set_multisafepay_transaction_as_invoiced()
S
63 2 10
replace_checkout_payment_url()
S
68 2 7
__construct()
S
77 1 4
get_gateways()
S
79 1 3